package cn.da.shuai.cool.file.service.service;

import cn.da.shuai.cool.file.model.CoolFileVo;

import java.io.InputStream;
import java.util.List;

public interface IFileService {
    String uploadFile(CoolFileVo file) throws Exception;

    InputStream downloadFile(String fileName) throws Exception;

    void deleteFile(String fileName) throws Exception;

    List<String> listFiles() throws Exception;

    String getPresignedUrl(String fileName) throws Exception;

    String uploadImage(CoolFileVo fileVo) throws Exception;
}
